package com.googlecode.mgwt.examples.uibinder.client.activities;

import java.util.ArrayList;

import com.google.gwt.user.client.ui.IsWidget;
import com.googlecode.mgwt.examples.uibinder.client.Topic;

public interface ExampleListDisplay extends IsWidget {

	public void setPresenter(Presenter presenter);

	public interface Presenter {

		public void onItemSelected(int index);

	}

	public void render(ArrayList<Topic> list);

	public void setSelected(int lastIndex, boolean b);
}
